package com.zx.callback.common.utils.baidu;

import java.io.Serializable;

/**
 *
 普通IP定位返回VO Web服务
 * Created by yanst on 2016/10/20.
 */
public class LocationIpResultVO implements Serializable {

    private static final long serialVersionUID = -8358530242459780820L;
    private String address;//#地址
    private Content content;//#详细内容
    private Integer status;//#简要地址

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public Content getContent() {
        return content;
    }

    public void setContent(Content content) {
        this.content = content;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public class Content{
        private String address;//#简要地址
        private AddressDetail address_detail;//#详细地址信息
        private Point point;//#百度经纬度坐标值

        public String getAddress() {
            return address;
        }

        public void setAddress(String address) {
            this.address = address;
        }

        public AddressDetail getAddress_detail() {
            return address_detail;
        }

        public void setAddress_detail(AddressDetail address_detail) {
            this.address_detail = address_detail;
        }

        public Point getPoint() {
            return point;
        }

        public void setPoint(Point point) {
            this.point = point;
        }

        public class AddressDetail{
            private String city;//#城市
            private String city_code;//#百度城市代码
            private String district;//#区县
            private String province;//#省份
            private String street;//#街道
            private String street_number;//门址

            public String getCity() {
                return city;
            }

            public void setCity(String city) {
                this.city = city;
            }

            public String getCity_code() {
                return city_code;
            }

            public void setCity_code(String city_code) {
                this.city_code = city_code;
            }

            public String getDistrict() {
                return district;
            }

            public void setDistrict(String district) {
                this.district = district;
            }

            public String getProvince() {
                return province;
            }

            public void setProvince(String province) {
                this.province = province;
            }

            public String getStreet() {
                return street;
            }

            public void setStreet(String street) {
                this.street = street;
            }

            public String getStreet_number() {
                return street_number;
            }

            public void setStreet_number(String street_number) {
                this.street_number = street_number;
            }
        }

        class Point{
            private String x;
            private String y;

            public String getX() {
                return x;
            }

            public void setX(String x) {
                this.x = x;
            }

            public String getY() {
                return y;
            }

            public void setY(String y) {
                this.y = y;
            }
        }
    }
}
